package com.androidx.p013lv.mine.novel.view;

import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.androidx.p013lv.base.bean.NovelHistory;
import com.androidx.p013lv.base.utils.UiUtils;
import com.androidx.p013lv.mine.C1207R;
import com.androidx.p013lv.mine.OnClickListenTypes;

/* renamed from: com.androidx.lv.mine.novel.view.NovelHistoryOneView */
public class NovelHistoryOneView {
    String domain;
    LinearLayout ll_item_layouts;
    OnClickListenTypes onClickListenTypes;
    TextView tv_favorites_num;
    TextView tv_info;
    TextView tv_see_num;
    TextView tv_title;

    public NovelHistoryOneView(View view, String str) {
        this.domain = str;
        this.ll_item_layouts = (LinearLayout) view.findViewById(C1207R.C1210id.ll_item_layouts);
        this.tv_title = (TextView) view.findViewById(C1207R.C1210id.tv_title);
        this.tv_info = (TextView) view.findViewById(C1207R.C1210id.tv_content_info);
        this.tv_see_num = (TextView) view.findViewById(C1207R.C1210id.tv_see_num);
        this.tv_favorites_num = (TextView) view.findViewById(C1207R.C1210id.tv_favorites_num);
    }

    public void setView(NovelHistory novelHistory, int i) {
        TextView textView = this.tv_title;
        textView.setText(novelHistory.getFictionTitle() + "");
        TextView textView2 = this.tv_info;
        textView2.setText(novelHistory.getInfo() + "");
        TextView textView3 = this.tv_see_num;
        textView3.setText(UiUtils.num2str(novelHistory.getFakeWatchTimes()) + "");
        TextView textView4 = this.tv_favorites_num;
        textView4.setText(UiUtils.num2str(novelHistory.getFakeLikes()) + "");
    }
}
